<?php

namespace App\Models;


class TradeRecommend extends BaseModel
{
    protected $table = 'trade_recommends';

    protected $casts = [
        'pictures' => 'array',
    ];

    public function product()
    {
        return $this->belongsTo(Product::class, 'product_id', 'id');
    }
}